<?php
/**
 * Goods.php
 * Created by PhpStorm.
 * User: 江小波
 * Date: 2019/6/10
 * Time: 15:28
 */
namespace app\common\behavior;

use think\Db;

class Goods {
    public function goods_browse(&$param){
        $status = Db::name('goods_browse')
            ->insertGetId([
                'create_ts' => time(),
                'goods_id' => $param['goods_id'],
                'member_id' => $param['member_id']
            ]);
    }
}